﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using PRWPF;
using System.Drawing;
using System.Linq;

namespace TestPRWPF
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            var x = new { id = 1, value = 2 };
            tt(x);
        }

        public void tt(object xx)
        {
            dynamic d = (dynamic)xx;
            string s = d.id.ToString();
        }
    }
}